<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui" template="../templates/ui.xhtml">
	<ui:define name="content">
		<h:form id="orderStatusForm">
			<h:panelGrid>
				<p:fieldset legend="Order Status" style="width:760px;">
					<h:panelGrid>
						<h:outputText value="Order status #{orderStatus.status}"
							id="orderStatus" />
					</h:panelGrid>
					<h:panelGrid style="float:right">
						<p:commandButton value="Refresh" update="orderStatus"
							action="#{orderStatus.refresh}"></p:commandButton>
					</h:panelGrid>
				</p:fieldset>
				<div style="height: 270px;" />
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>